<html>
<head><meta charset="utf-8"><title>Test without std debug assertions · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Test.20without.20std.20debug.20assertions.html">Test without std debug assertions</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="215207236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Test%20without%20std%20debug%20assertions/near/215207236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Test.20without.20std.20debug.20assertions.html#215207236">(Oct 31 2020 at 19:15)</a>:</h4>
<p>Hey hey. In <a href="https://github.com/rust-lang/rust/pull/78122">https://github.com/rust-lang/rust/pull/78122</a>, I want to run a test that needs to look at the result at look something compiled against an std without debug assertions. But it seems like pretty much every test builder has those enabled. Should there be a way to compile std without debug assertions in addition to what's currently built? Or std's debug assertions be disabled on some of the runners, just to test that case too?</p>



<a name="215615008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Test%20without%20std%20debug%20assertions/near/215615008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Test.20without.20std.20debug.20assertions.html#215615008">(Nov 04 2020 at 17:31)</a>:</h4>
<p><em>bumping this up the conversation list</em></p>



<a name="215617457"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Test%20without%20std%20debug%20assertions/near/215617457" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Test.20without.20std.20debug.20assertions.html#215617457">(Nov 04 2020 at 17:50)</a>:</h4>
<p>I think disabling std debug assertions and then running codegen (maybe) and run-make tests (which are often codegen related) makes sense. I am uncertain, but it may well be quite painful to do this in rustbuild...</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>